package com.piggy.logi.sys.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@ApiModel("货源订单")
@Accessors(chain = true)
public class LogiGoodOrderExtVo extends LogiGoodOrderVo {

    @ApiModelProperty("始发地区县")
    private String originDistractName;

    @ApiModelProperty("目的地区县")
    private String destinationDistractName;

    @ApiModelProperty("发货方")
    private String shipName;

    @ApiModelProperty("收货方")
    private String deliveryName;

    @ApiModelProperty("货源集合")
    private List<LogiOrderGoodSourceExtVo> goodSourceList;

    /** 运单状态 */
    @ApiModelProperty("运单状态")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Integer waybillStatus;

    @ApiModelProperty("运单号")
    private String outCode;

    @ApiModelProperty("车次号")
    private String scheduleNo;

    @ApiModelProperty("原订单运费")
    private BigDecimal orderFee;

    @ApiModelProperty("实际订单运费")
    private BigDecimal realOrderFee;
}
